<?php
    $PageDocument=ob_get_contents();
    ob_end_clean();
    if (isset($ob_before)&&count($ob_before)>0)
    {
        ob_start($ob_before[0]);
        echo $PageDocument_Before;
    }
    echo $PageDocument;
?>